package com.niuniu.rushdorm.service.impl;

import com.niuniu.rushdorm.mapper.RoomMapper;
import com.niuniu.rushdorm.pojo.response.RoomInfo;
import com.niuniu.rushdorm.service.RoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author rambo
 * 2022/11/25
 */
@Service
public class RoomServiceImpl implements RoomService {
    @Autowired
    RoomMapper roomMapper;

    @Override
    public RoomInfo GetRoomById(long id) {
        return roomMapper.GetRoomById(id);
    }
}
